
/*
 * 
 */

package is.glif.fenius.ws.connection.impl;

import is.glif.fenius.ws.connection.gen.ConnectionService;

import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

@WebServiceClient(name = "connection", 
                  targetNamespace = "http://fenius.glif.is/ws/connection/v1/service") 
public class ConnectionProxy extends Service {

    public static URL WSDL_LOCATION;
    public final static QName SERVICE = new QName("http://fenius.glif.is/ws/connection/v1/service", "connection");
    public final static QName ConnectionServicePort = new QName("http://fenius.glif.is/ws/connection/v1/service", "ConnectionServicePort");

    public ConnectionProxy(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    /**
     * 
     * @return
     *     returns ConnectionService
     */
    @WebEndpoint(name = "ConnectionServicePort")
    public ConnectionService getConnectionServicePort() {
        return super.getPort(ConnectionServicePort, ConnectionService.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns ConnectionService
     */
    @WebEndpoint(name = "ConnectionServicePort")
    public ConnectionService getConnectionServicePort(WebServiceFeature... features) {
        return super.getPort(ConnectionServicePort, ConnectionService.class, features);
    }

}
